<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="{{ url_for('static',filename='css/style.css') }}" type="text/css">
</head>
<body>
    <main>
        <div id='login'>
        <form action="/login/" method="post">
            <table>
                <tr>
                    <td>用户名:</td>
                    <td><input type="text" name="name"/></td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td><input type="password" name="pwd"/></td>
                </tr>
                <tr>
                    <td colspan="2"><input class='btn' type="submit" value="登  录"/></td>
                </tr>
                {% if msg  %}
                <tr>
                    <td colspan="2" style="color:red">{{msg}}</td>
                </tr>
                {% endif %}
            </table>
        </form>
    </div>
    </main>
</body>
</html>